<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>top</title>
<link href="../css/all.css" rel="stylesheet" type="text/css" />
    <script src="../js/vue.min.js"></script>
    <script src="../js/axios.min.js"></script>
    <!-- 引入样式 -->
    <link rel="stylesheet" href="https://unpkg.com/element-ui/lib/theme-chalk/index.css">
    <!-- 引入组件库 -->
    <script src="https://unpkg.com/element-ui/lib/index.js"></script>
</head>

<body>
<div id="app">
<div class="top">
<div class="top_logo"><img src="../image/logo1.png"/> </div>
<div class="top_right">
<ul >
<li><i class=" i_all i_user"></i> <a href="#">{{name}}</a></li>
<li><i class="  i_pass"></i><a href="#">修改密码</a>
</li>
<li><i class=" i_all  i_cance"></i><a href="#">注销</a></li>
</ul>
</div>
</div>
</div>
<script>
    var v=new Vue({
        el:"#app",
        data:{
            name:""
        },
        created(){
            this.name=window.sessionStorage.getItem('loginUser');
        }
    })
</script>
</body>
</html>
